<?php
require __DIR__."/../vendor/autoload.php";

use PHPUnit\Framework\TestCase;
use WxWorkSDK\JS\Signature;

class JS extends TestCase
{
    public function testSign()
    {
        $res = Signature::sign('sM4AOVdWfPE4DxkXGEs8VMCPGGVi4C3VM0P37wVUCFvkVAy_90u5h9nbSlYy3-Sl-HhTdfl2fzFy1AOcHKP7qg',
            'http://mp.weixin.qq.com?params=value');
        var_dump($res);
    }
}